home *** CD-ROM | disk | FTP | other *** search
- ;These funcs provide ANSI C compatibility
- ; and Watcom compatibility
-
- include qlib.inc
- include stdio.inc
- include string.inc
- include stdlib.inc
-
- .data
- public _fltused
- _fltused db 1 ;referenced by VisCv4.2 (but used as far as I know)
-
- .code
- _setargv__ proc ;referenced by BCv5.0 but is never called (as far as I know)
- ret
- _setargv__ endp
-
- atoi proc,s:dword
- _atoi::
- callp str2num,s
- ret
- atoi endp
-
- atol proc,s:dword
- jmp _atoi ;both proc are identical
- atol endp
-
- itoa proc,i:word,s:dword,rax:byte
- callp num2strs,i,s,rax
- ret
- itoa endp
-
- ltoa proc,i:dword,s:dword,rax:byte
- callp num2strs,i,s,rax
- ret
- ltoa endp
-
- ultoa proc,i:dword,s:dword,rax:byte
- callp num2str,i,s,rax
- ret
- ultoa endp
-
- _int3_ proc ;For helping to debug under Watcom
- int 3
- ret
- _int3_ endp
-
- end
-
-